package com.venutech.gongan.dao;


import com.venutech.gongan.entity.SpGrant;
import org.apache.ibatis.annotations.Param;

public interface SpGrantMapper {

    int insert(SpGrant spGrant);

    SpGrant getByPoldIdAndEquipId(@Param("userId") Integer userId, @Param("poleId") Integer poldId, @Param("equipId") Integer equipId);

    SpGrant getByWorkId(@Param("workId") Integer workId);

}
